#include "dockersearch.h"

DockerSearch::DockerSearch(const QJsonObject &obj) : DockerOutputJson(obj)
{
    m_description = obj.value("Description").toString();
    m_isAutomated = obj.value("IsAutomated").toString();
    m_isOfficial  = obj.value("IsOfficial").toString();
    m_name        = obj.value("Name").toString();
    m_starCount   = obj.value("StarCount").toString();
}

QString DockerSearch::description() const
{
    return m_description;
}

QString DockerSearch::isAutomated() const
{
    return m_isAutomated;
}

QString DockerSearch::isOfficial() const
{
    return m_isOfficial;
}

QString DockerSearch::name() const
{
    return m_name;
}

QString DockerSearch::starCount() const
{
    return m_starCount;
}
